import 'package:flutter/material.dart';

Widget lpText(String title,
    {double? size,
    bool bold = false,
    Color? color,
    TextAlign? textAlign,
    TextOverflow? textOverflow,
    TextDecoration? textDecoration,
    Color? decorationColor,
    int? maxLine}) {
  return Text(title,
      textAlign: textAlign ?? TextAlign.start,
      maxLines: maxLine,
      style: TextStyle(
          fontSize: size ?? 15,
          color: color ?? Colors.black,
          overflow: textOverflow,
          decoration: textDecoration,
          decorationColor: decorationColor,
          fontWeight: bold ? FontWeight.bold : FontWeight.normal));
}
